//
//  DrawBoardController.m
//  Objc进阶Demo
//
//  Created by Don't update on 2018/7/20.
//  Copyright © 2018年 Don't update. All rights reserved.
//

#import "DrawBoardController.h"

@interface DrawBoardController ()

@end

@implementation DrawBoardController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"绘画板";
    [self drawRect:CGRectMake(0, 0, 200, 200)];
}
- (void) drawRect: (CGRect) rect {
    UIBezierPath *p = [UIBezierPath bezierPathWithRect:CGRectMake(0, 0, 100, 100)];
  
    [[UIColor blueColor] setFill];
    [p fill];
}





@end
